// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import 'lib-flexible';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import 'swiper/dist/css/swiper.css';
import QRCode from 'qrcodejs2';
import html2canvas from 'html2canvas';
import wx from 'weixin-js-sdk';;
import axios from 'axios';
import VueAxios from 'vue-axios';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.prototype.QRCode = QRCode;
Vue.prototype.html2canvas = html2canvas;
Vue.prototype.axios = axios;
Vue.prototype.APIHOST = process.env.API_HOST;
Vue.prototype.token = '?token=oyr73Bw5cTBreA';

Vue.use(VueAwesomeSwiper)
Vue.use(VueAxios, axios);
Vue.use(ElementUI)
Vue.config.productionTip = false;
/* eslint-disable no-new */
new Vue({
  el: '#app',
    router,
    components: { App},
  template: '<App/>'
})
